[PATCH v9 2/2] cmd/tests: Add tests to verify COPY command output