tests added for agents