fixed testing function in clusterer.py