added tests for all the helper functions for medoid

and made fix in set of numbers similarity (forgot a flip)