NodePath::slice()
Adjust slice boundaries in `NodePath` logic to correctly handle subnames. Update test cases to reflect these changes.
..