message: pin version in begin_read test
diff: @@ -38,6 +38,8 @@ namespace realm {
  static realm::VersionID realm_version(SharedRealm &shared_realm) {
  Realm &realm = *(shared_realm.get());
  auto &shared_group = realm::Realm::Internal::get_shared_group(realm);
  + shared_group->begin_read();
  + shared_group->pin_version();
  return shared_group->get_version_of_current_transaction();
  }
  