Fixed elemental test to correctly assign tiles with mpirun -n > 1.