selftest: Fix daemon testing to use the new syntax.