fixed problem with encoding running tests with ruby 2
Merge pull request #5 from formigarafa/testing_on_ruby_2

fixed problem with encoding running tests with ruby 2