Handle Windows directory naming conventions in tests