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. It's not very exciting, but I think it's good to cover all the bases (especially when changing the behaviour of code ruby classes)