change Makefile and testcase