deleteUser unit test for endpoint