Add tests for FormObject