Added test for covertree_algorithm.