BS-9819 Add nest in the TestRenameDiagram class
- cleaned the changeDiagramName function in SWTBotTestUtil class
- impact of this changes where it was used.