Improve MP test script