Unit test for issue #34.
Fix for issue #34.