fix StringDistanceTest and LevenshteinDistance(old, new)