Add tests for wrong agent-id