Fixed a test that caused a build error because of a different behavior in Ruby 1.9 strings