error reporting test