add class similarity test