Added RPC API test