adding short test for remove-unnecessary-remote-scatter.