mongoose integration test