Added the assertTopLevelUnions() test case.