test the edit of ReText