Update README with an actual example
Add tests