added a better libhpdf tests using a PNG image and output via a compressed stream
(testing libpng and zlib dependencies)