Added agent test