Fix test to ruby 2.0

The default enconding changed on Ruby 2.0