test(history/statistics): fix history statistics test after canceling

- replace copied test with a proper test

related to #CAM-1659