refactor(engine): history level can be tested

related to CAM-1242