Merge pull request #1307 from moroten/fix-too-long-path-test-bug

Verify GetFullPathName return value