Regression test for #48