switched implementation to IoC usage, added mocha specs