Unit tests for error handling. Additional doc