EZP-20933: added regression test