Only write out level type for time dimensions.
Fixed test to account for a different location of the uniqueMembers attribute.