Add nose to requirements.txt and section in README.
Return a boolean to make this testable.
Make payload creation a function so I can test it.