Fix matching's test case