add test patch in test branch
fix the bug which should wirte in the dev branch
add test patch
Merge branch 'test' into dev

Conflicts:
	xt.c

commit a merged test and dev version with human modification