finalized tests and changed league to league_id