test program with main function