JErrorTest::testAddToStack

Test JError::addToStack