Text this: New Karhunen-Loève expansions based on Hahn polynomials with application to a Sobolev test for uniformity on Johnson graphs