Adding test for generate_payload method
Merge pull request #107 from daviddavis/temp/20130911105302

Adding test for generate_payload method