Test if we can mock require()'d functions