Update tests to drop mongoose_connection deprecation warning