Fix Windows path handling in unit tests