Update unshift and add path.parts

Tests too