Fixing test short file name failures

Some of the tests were mixing the usage of short files names and long file
names. This was caused by using ".toPath().toString()". I changed the tests to
use ".toPath().toRealPath().toString()".
2 files changed