fix testprogram