adds form validation to jasmine test runner