Python bindings: test.py -> api_*.py