Cleaner factories with build test.
Bump state_machine to 1.2.0