small modify unit test python