adding unit test for reportError