Added tests for edit distance 2