Reorganized main start for mpi tests and official run.
Updated pom.xml.