Minor changes to directed paths + tests