[testing] added test program for watchdog;