Added a failing test concerning inconsistent variable names in sub-path.
Fixing this is harder than it seemed at first.