Unit test for issue #104.
Removed debugging code...
Merge pull request #105 from pgelinas/issue104

Unit test for issue #104.