Remove CONFIG_DAEMON from master build
Add tests