OK, looks good.  Were those weights calculated from the formula by hand?

It would be good to also test that "trad" is recognised, and that an invalid scheme name isn't.

And a test that the code passing param_k to get_eset() works (i.e. exercising the compatibility wrapper).