partial invariance testing