Create method to test jsonRpc

Change-Id: Idb908d9d95ecc92926bf464a7a1efa4001cf288b