adding tests for error classification