levenshtein distance function unit test