Finished state machine, now testing