looping test for CP