added test
Merge pull request #302 from mimmi20/issue-301

Issue #301