Fix search test.
Return document abstract if there is no title.