Moved testAgent to test classes, renaming to prevent conflict with other new testAgent.