unit tests for collinearity