test: add tests for Path
and PathStep
components
#2043
Merged
Path
and PathStep
components
#2043