reworked pdf generation with mmultiple pages: added tests to check layouting; fixed rendering
removed duplicated methods existing in the superclass
addde developer test
added mockito dependency