Always return allocated response object to avoid nil pointer dereference
agent: first pass at rpc tests