testing clustering algo