Added more test cases for the Realm operations.