update makefile and testflow