zpaq: use assertion instead of test return value