If oldWord = "Tes" and newWord = "Test ", then 3 backspaces will be sent while that is not required.