Implement some tests for AgentAPI
Adjust test for recent changes in agent model
Adjust tests for recently changed enums
Change import order

Import standard packages first
Don't use naked asserts in tests
Style fix: No spaces around equals sign
Add tests for updating and deleting agents
More unique data for different tests
Style fix: Do use spaces in assignments after all
Merge pull request #30 from guidow/agent_api_tests

Implement some tests for AgentAPI (2)