reformat README.md
add some test code