tests on pdf