added testing code to the main_program.c