Laying the groundwork for the state machine tests.