Added lots of debugging to PathTest.