chore(engine): improve test for case activity type sorting

related to #CAM-2871