(MCO-98) Add tests for shipped agents

This commit adds tests for all the actions in the rpcutil agent.