Improved usability of rpctest tool as module