Principal component analysis tests