add test program that exits
test program also outputs some stuff