Added tests.
Added README.md.