PathElementsFactory: test .toString(*)