Run CLI tests with config in Python