some unit testing
check for right number of parameters to watchdog