Fix examples in README.md

`test` variables were missing, second example referenced missing `data` variable.