Text this: Hypothesis Testing for Hierarchical Structures in Cognitive Diagnosis Models