Added test print function.