Add skeleton of testsuite

Test that valid PDF files are loaded, and invalid PDF files are not
loaded.