fixed pdf tests