implemented Harmonic mean similarity and his test