(Maint) Fix testing path on windows

A file resource needs to have absolute paths, but a drive relative path
doesn't qualify as an absolute path on windows. This fixes the path used
for testing to be "absolutized" before use.
Merge pull request #1835 from zaphod42/maint/master/fix-path-on-windows

(Maint) Fix testing path on windows