add test method to test the form outputs