Implemented Levenshtein distance test; now different-length index sequences are tested up to length of the shortest of the two.