[PATCH v6 2/3] cmd/tests: Add tests for COPY to self.