This is not an ideal test for invalid attributes of an answer. Regardless, if the input is invalid or not, the user will be redirected to the question page. Therefore, test instead that the answer should not be persisting.