added test for header
removed latex from object names
added long table support
made header and footer labels span all columns