The reverted patch should work fine if the remaining use of _kill_process in the test code is replaced with utils.execute(['kill',...]).
The reverted patch should work fine if the remaining use of _kill_process in the test code is replaced with utils.execute( ['kill' ,...]).