Added some tests around file uris

I was intrigued by how this works, and had no idea if it was already
being tested (it is, implicitly) so I figured I'd put some tests around
it.
Merge pull request #169 from iainbeeston/file_uris

Added some tests around file uris