Fix test directory list regression