test for search by title