Add unit test for PDFJS.abortGetDocument