Tests of Measurement Invariance Without Subgroups: A Generalization of Classical Methods