add tests
add test
Merge pull request #469 from mimmi20/issue-468

Fixes #468