Created a unit-test for issue #9