IDEX-1022: added test