Tests for Structural Change, Aggregation, and Homogeneity