IDEX-1530: added test