add test to ensure compact function isn't invoked
add test to ensure compact function isn't invoked

when the realm is already open on another thread

realm/realm-core,realm/realm-object-store,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-object-store,realm/realm-object-store,realm/realm-core