prepared unit test for issue #8
fixes #8
Merge pull request #9 from jkowalleck/issue-8

fixes #8