#779
fix for #26
updated test that was broken by fix for #26
Merge pull request #30 from domurtag/master

fix for issue #26