Fix the path basename tests to have specific tests for windows.