Renaming variable
Fixing argument reversal bug
Finished tests for rpcclient