Improve tests and CI friendliness

* Splits path generation from loading to improve testability.
* Updates tests.
* Removes mocha-runner.
* Works with StrongLoop's CI.

Suggested reviewer @bnoordhuis