Add some realmuser unit tests