tests for error handling