Basic test for daemon