Correct testing code for print