new version of state machine test code
Merge branch 'master' of github.com:Negusbuk/NeguPi