Tests for new error reporting feature