WIP: Add rewire to work with istanbul for coverage

Add rewire to TestFile.runTests() so when coverage is running, the test module has the covered resources in lib/ injected into its scope.