adding unit test for PR #11