Add test for the form resetting