add testSim.php to test similarity calculation