add clustering tests and fix bug in clustering_coef_bu