Add a test to reproduce #83.