Fix for the directory listing in fitness test