Update an error message and  the test