refactoring and some more tests around the Injector
Throws an exception when instantiating an injectable with no provider