added test for required form fields.