Add tests for setting and resetting walkover state