fix tests for ruby > 2
Merge pull request #16 from ninetwentyfour/ruby_2

Fix tests for ruby > 2