load-stored-state refactoring
Agent state test