Create state-machine-test1.js