Ported part of test-set-status to be rpc enabled