Added unit test 'agent' repository
Implemented unit test and fix for DATAREST-216
Removed unnecessary repository method
Removed stuff that I thought i removed already
Yet more stuff that I swear i removed already (time to stop trusting
EGit merge...)
Updated new test author name (copy paste error)