Added regression test for previous commit