tests: filesystem: update test for watchdog based testing

(integrated from trunk branch change 6502122 by Todd Whiteman <toddw@activestate.com>)