Added tests for 'file:///' handling

Adds simple test case for #1860