Add a regression test for #37