Implemented unit specs related to text search.