updated form validation on test addition