CAAERS-6673 Fixed unit test