fix mpi/vector, added test