nit on a nit: we do this while loop twice in the test, maybe make it a utility function (also my preference would be, to make it clearer, chuck randints into a set until it reached the correct length, but I am full of semi-useless advice today).