[ADD] More test cases for GH-1001.
[FIX] Better detection of duplicates in AxisPaths.