automatic test cases match