Updates test to work with ruby 1.8.7

Updates a hash with the old hash syntax