Fix test daemon checks