JErrorTest::testAttachHandler

Test JError::attachHandler