Add unit test for Hooks::deleteUser