update the readme.
add more tests.