Added tests and functionality for editing team name