Adding a unit test to test the form type.