add some lines in master_test.c