Testing AgentChangeListener.