important bugfix
correct README.md
add some tests