tests: fix false failure with large printf formats