I32 mongodb remove role

Fixed #32 and added a failing test (passes with the fix).
This PR includes mocha test suite PR, so you can merge just this one.