Added missing subprocess import to printer.py
Added remaining tests for printer class