Added unit test for issue #31

Added a unit test that verifies issue #31.