updating agent tests