fix GH-198
test added
test updated
Merge pull request #199 from mokesmokes/GH-198

fix GH-198