fix packages being uninstalled / reinstalled when running Pkg.test
Merge pull request #7970 from jakebolewski/jcb/fixtestreq

fix packages being uninstalled / reinstalled when running Pkg.test  with REQUIRES