Check that YAML::load_file returns a hash
Update display_message_spec to work in older rubies