Updated test case for password recovery