Fixed bug in broadcast and changed testMPI