watchdog with testcase