Test cases for printing