Tests Containment view of detailed heap snapshots. Expanded nodes must be preserved after sorting.