[imp,rm]:improve python test case and remove yml test cases