Added unit-tests for watchdog aspect.