test(engine): add item handler test for variable listeners

related to CAM-2238