Adding some sanity checks for the fd passing module.