add test tool
re-compile header and modify makefile