some tests for mongoose connection.