implementation and test for rpc response
Merge pull request #6 from hunterloftis/rpc

implementation and test for rpc response