Template for print messages of test programs

The test programs include the same template now, the
printed messages are thus unified
parent 49f119aa