Tweaking the agent test.