[RJA-1469] [feature] - tests api fixed for changed rest structure
Merge pull request #780 from rsvato/agents

[RJA-1469] [feature] - tests api fixed for changed rest structure