Testing printing a message