Add a regression test for issue 83