Added tests for MongoDB class. Also added list all docs method to Connection.