Fix machine_actions and add machine_actions tests
Merge branch 'chaos.io.machine_actions' into chaos.io.tmp