more tests for agent