Test Code for printing