Fix #9

Return made caret away when user hit RETURN in a middle of a sentence
To fix this issue, I add several unittests