Tests and fix added for #309 (inplace mpi doubling).
3 files changed