Python 3: Support run-api-tests