HTML Output Test

 - Refactor Printer interface to return strings instead of printing
 - Also refactored associated methods