CAL-684 fix unit test