Test that remotely deleted documents are removed from local itemsMap