Add regression test for #184