Fixed test case for removal of user upon finishing a registration