mtd: tests: return -1 if verify failed