add testSim to test similarity calculation