Cpu mode test case with managedsave command.

Why not use ```vm.state() != 'running'```