Test that Page.getResourceTree does not crash with empty or missing resources.