Access OpenStruct objects using struct syntax that works in ruby 1.9 and
2.
Actually test this code using OpenStruct objects, not Hashes.