Add regression test for #10