fix:use some new apis in the test cases