ART: Add more comprehensive merge test

Add a more comprehensive test starting from a covering relation
and derive expectations algorithmically.

Fix a missing collapse of UnresolvedMergedReference types with
Object as the resolved component.

Test: m test-art-host
Change-Id: I20ab059195a0130c48b51f92f9a8ff5a3e9d4e10
2 files changed