python: Fix last bugs in rpcecho test. It passes now!