working copy of test_watchdog_reset