Updated test to remove test realms after running