Test reading resource data