tests: add or delete copy/move ctors where needed to make type traits match reality (#5833)

11 files changed