make safeRange lt/lte/gt/gte aware

what is an appropriate file to add tests for that? Or should I create a new one?