added clustering tests