added daemon test