Add RPC API test support in unit test vector