This modifications fix the use of regex with glob on windows.

Getting the test by URL and finding the base file of the test to inject inject.js were done using the path as string. Since windows uses '\' instead of '/' the script was never injected.