Added unit tests
updated README.md