Add tests for invalid form submission errors