Added unit test to try to reproduce #34