fix ReadME sample code
Merge pull request #29 from kentcdodds/master

Closes #27 and #28
Merge pull request #24 from inalgnu/fix-readme

Fix README sample code