Normalizing path with mock