Added unit test for issue #97.
Merge pull request #98 from pgelinas/master

Added unit test for issue #97.