state-machine: align tests with TS 0.9.5