Fixes to the ls command of task-test(7) and ensured that the paths test
executable can be run manually and as part of the test task runner.