Improved diagnostics on lt/lte/gt/gte tests