added tests for forms