Merge "Added test for max distance on editDistance()." into qt-dev