choosing best similarity algorithm, updating test case