Add a different test case which reproduces a crash a user reported that this branch fixes.
Add a different test case which reproduces a crash a user reported that this branch fixes.

realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core