towards a contained test suite with no system state side effects

Here is a quick snapshot of my current work.
Also, that constant is probably unnecessary – `{}` is fine to include in the call to `common.npm`.