extracted headings and paragraph on tested pdf