CORE-5415: Corrected unit test failure