add tests for form submission