integration test to check if form errors are displayed