test for agent base class