added test. updated README.md