Add test for RemoteApi (which was getting weird)