Fix examples in README.md
`test` variables were missing, second example referenced missing `data`
variable.
Merge pull request #24 from lukeasrodgers/fix-readme

Fix examples in README.md