Fix test_errors to use proper value for max DG_SIZE.