modify tests daemon_test