Fix stack-use-after-scope error in test case
Fix stack-use-after-scope error in test case

Change-Id: I1a19cbf8ca69183a8e13b23bc8f3a2957c8c594f

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