A Jasmine test for validateRequiredField specifically