Test of 'pathLength' on shapes.