Update README and add test cases for the README examples.
Merge pull request #13 from knowitall/readme

Update README and add test cases for the README examples.