TJ: added integration test for SynchronousRemote.