added tests for form submission