Setting up the TestingAgent