Test that local dir node is deleted after fetching new document
Test for keeping local itemsMap when there are still pending changes