textEditor test fixed