Before revision:  As a by-product of our analysis, we robustify the classical Hausman test for exogeneity against misspecification of the linear model.
After revision:  As an important application of our analysis, we robustify the classical Hausman test for exogeneity against misspecification of the linear model.