Modify getDTGFieldName to be more readable. Also include tests of getDTGFieldName and getDTGDescriptor.