Fragility in tests is not necessarily a bad thing.  If the ordering is a part of the semantics of the method, then pulling out `res[0]` is actually good because if someone makes changes to the code that causes the object to become `res[1]`, that could potentially break things downstream.

Tests should encapsulate the semantics of your code and they should be very fragile to changes in those semantics.