Add tests for stopProcess() error conditions