Switch to Ruby 1.8 hash syntax in tests