Fix to detect RPC endpoint status
Included a new RPC unittest to check ONE version rpc call