cat-log: fix for remote jobs
cylc cat-log: add test battery