Added regression test for #25