Create state-machine-test3.js