Add the test for input to text editor