fixed jsPrinter test