Adding tests for protocol relative URLs

Unit test changes for https://github.com/silverstripe/sapphire/pull/862