wal: add walName function; cleanup test