Changed PdfMaker so that it takes in just the inputParser as a
parameter. Also added test cases and JUnit tester