Working pdf indexing test