fixed the watchdog test