daemon: add some basic testsSponsored by: AxcientDifferential Revision: https://reviews.freebsd.org/D29316(cherry picked from commit 3b57d80c7aa924ed0fad565591f5292c2ac88da5)