adds tests for form