JErrorTest::testGetErrors

Test JError::getErrors