add some examples
update
add test tools
fixed a bug