If the extra copying only happens in tests, I would vote for having the extra copying than having test-only code here.