Tests of getSubType on attribute and relation.