Fix false-positive test, add test for errors when form is invalid.