CAAERS-6810 fix unit test