Making the tests communicate with the running through rpc. Ready for
the process pool implementation :)