Added a way to pass the agent the test information