FIX Modified tests to handle cosine distances instead or euclidean.