rm the params of sd.test and init c code (gdm.c & gdm.h)