[imp]:improve python test cases and view