Adjusted PathTest to account for the fact that getLength() now returns the relation count