Added styled and text editor junit tests