Tests/daemon

This is the test on the WatchServer. Could be better, but at least it should not conflict with running daemons or other tests. This does not mean the whole daemon is tested, but the WatchServer is the most important for now.