testing the form functionality