DEL some useless checking in testcase
ADD pair adjustment after matching