[lnst] NetTestController: encapsulate rpc calls into a new method