Resource and batch added. Started to write pure MPI test.