Started converting tests into phpunit tests.
FormValidator class now has a test.