Your assertion that for large ranges every digit has the same chance of appearing is very wrong. Your empirical test is rigged by choosing a very rare max, literally the only one where it would “prove” your assertion.
Benford’s law appears when the max of your range is uniformly distributed
Benford’s law appears when the max of your range is uniformly distributed