Fix file ordering issue in WALManager tests