added a unit test for issue #9 to make sure it's working correctly