Testing for error.