added daemon test.