Added more tests

- testing the printImage function in printer.js
- testing the helpers