Path generation test codes