EZP-21906: Added regression test