tests passing with test.agent object