Test search by reading queries file