test for cloures