Convert a legacy integration test to a clean v2 CLI integration test. Upstream-commit: d8fc3eecf56cbb41b6ea5a438ffeb7be53d31923 Component: engine