mocha tests added for mongo tests