Added more tests to PasswordValidatorTest.