Fixed the test_midstate_start.