add string distance to test