added smoke test for print function