Fix range cache unittest by checking for KeyMax

Is this comment still valid?  Looks like this is what you fixed.

Use TODO(mrtracy) instead of Matt if you add Todos for me, that's what I'll grep for.