Cover 100%
Ignore if uri is already base64 and throw error if resource not found
Check weight resource