added search by title method and tests