test program about data structure