Complete test coverage for mrun and mtp scripts and ChildProcess.exec refactoring