Recover hidden test cases caused by duplicate function names