Log/work restructure: fix test