test for closing realm