if this assertion fails, the state will not be reset on next line. You should move the assertion after the reset