Fix Windows tests

This fixes a few WIndows-specific issues in the tests that were causing these tests to fail on Windows. 

This appears to be mostly issues in the test code itself, but I also added a few more protocols for `_is_url` to recognize.