Spec the Promise state engine.
Add simple spec for sync driver.