Improve around test dependencies

I have tried to adjust around loading test dependencies.

* test-unit
* mocha