IDEX-1424: fix unit-test