Added regression test