add tests and fix form errors

* change form_set_error to highlight the fields that aren't valid
* add test case for Employee class