update README
add test code