unit tests for the four programs that output text