Add tests for print().