LPS-41610  Move ProcessExecutorTest.testLogging() log message assert after the subprocess' termination