added a test to reproduce #11.