Test the error state