add an invariance test for pca