unit testing the form