migrated from original repo https://github.com/rearadmiral/go_watchdog and ported from test::unit to rspec 2