mpi_comm_dup from the beginning
Created by: germasch
Also came from an unrelated discussion. ADIOS2 MPI_Comm_dup()s its communicators, but potentially too late to protect from the user doing stupid things.
The first commit adds a test that triggers it. The 2nd commit is the simple fix.