Test for the Realm Database API