Fix logic for identifying test classes on Windows

Use File.separator rather than hard-coding the use of ‘/‘

Closes gh-1571
Merge branch '1.1.x'