Tests now work with ruby 1.8.7 (In that version of ruby OpenStruct doesn't respond to [].)