Making sure form validation is working as expected