tidy up adjust_gens_test