add a test for nx.RestCollection.remove