hop_tasks: better logging in unittest