adds unit tests for SearchTextField
Merge pull request #1753 from velesin/search_text_field_tests

adds unit tests for SearchTextField