Optimized README.md and added more tests.