Tests that resources have proper documentURL set in the tree model.