Fixed OS-specific path comparison in a test