Updates test to work with ruby 1.8.7

Updates a hash with the old hash syntax
Updates another new hash syntax to work with ruby 1.8.7
Merge pull request #180 from edelpero/fixes_test_for_old_ruby_version

Updates test to work with ruby 1.8.7