Fix suffix matching; add negative test cases