made the error messages test pass