Fix test_printing.py