[#2420] adding regression test