Fix tests for CopyCommand / UnloadCommand