added MPI to connection test and refactor style in variables in MPI connection class