add a unit test main file snippet
use new style print