Add test for expand collapse while editing name