Unit test for issue #32

Added a unit test that verifies issue #32. The issue is not yet solved.