Sunderland and Leeds United both experienced hectic summer transfer windows as they prepared to return to the Premier League.