Add test for normalize_path idempotency