Modified test.
Added unittest for calculation of editdistance.