Generate test config for test-cli