test/dm: clear unit test failure count each run