testprogram constructed