test: fix test_remoting issue