Removed more redundant code from printermanager.py and tests related to it