fix tests
Merge pull request #511 from JahPowerBit/rpc

fix tests