Added further tests for printer class