Add tests for form submission tracking