Create state-machine-test4.js