Stub and test case for PasswordValidator.
Implementing PasswordValidator and having it pass tests.
Slight refactoring.
Updating test cases to take password text field into account.
Writing some more code to make tests pass.