- Fixed issue where a string was being passed for resolving dependency instead of a class or protocol
- Fixed unit tests according to the new code