fixed and tested uploading resource content via uri scheme

Turns out there wasn't a test for this yet.

Fixes #110