minor fixes
add integration tests
improve readme
fix typo in comments