added test
Merge pull request #152 from homeyer/129

closes #129