Cleaned up some duplicated test code
Cleaned up some duplicated test code

The overriding of package path was duplicated in the package.json tests.
This has been moved to the before block.

onmodulus/demeteorizer,alwaysleaveanote/demeteorizer