fix ordering sensitivity in listdir test