Added regression test for #11