unit tests on form inputs