Now PDFImage#numberOfPages() computes # of pages
Use chai for assertion