Inserted a test for mongodb