PCA unit-test divided into small parts