Add test for rpcerror
Add test for wrong number of argument