test, python_test rewrite