Updated test to check for validation on password change