Update range test with recent change in #7900.