Switches feature tests tmp to /tmp and refactors a bit
Switches feature tests tmp to /tmp and refactors a bit

This was getting in the way of #531

pivotal/LicenseFinder,pivotal/LicenseFinder,pivotal/LicenseFinder,pivotal/LicenseFinder,pivotal/LicenseFinder,pivotal/LicenseFinder,pivotal/LicenseFinder