Testing of RealmAdapter