Fixes bug: The message "[InvalidArgumentException] Test file can't be matched" displayed when exactly one test is running under Windows with the full path to the test.

Yeah, this PR breaks Linux tests.
@dikdiv can you update code as @samdark suggests?