MongoDB tests added

Added tests for MongoDB