fix test on 1.9+
Merge pull request #13 from grosser/grosser/fix

fix test on 1.9+