Added text input unit tests.