test(engine): add test for compensation handler history

related to #CAM-1753