add master_test.c in branch master