Fix test and require Ruby 2.0.