chore(engine/test): add throw exception

related to #CAM-2115