Test reorg

Abstract away the test setup better into a "BasicMap" abstract class. the idea is maps that need to be more specific could use an abstract "MoreSpecificMap"...

Only major change that is apparent is that you don't have to specifically close an outputstream used by a pdfwriter.  Closing the writer closes the stream (i confirmed via itext 2.1.5 source here: http://grepcode.com/snapshot/repo1.maven.org/maven2/com.lowagie/itext/2.1.5 ).

Hopefully this makes writing unit tests easier...