implemented escaping search terms

fixed escaping search terms

tests for search utils

implemented escaping search terms