Added initial test. Also updated mongo class to use DI