Add more comprehensive tidyPath unit tests