Avoid anonymous OpenStruct in tests