Fix test to compensate for different `ls` output on Fedora/Centos