Test unit for program class