add permutation test in class associationtest