Add tests for X11 RPC server.