fixed statement agentlist tests to conform to spec