ensures beforeCreate() is called before content values are grabbed
adding test cases to check values from the beforeCreate() callback
checking if the content values are not null instead
Merge pull request #42 from zsiegel/fix-issue-39

Fix #39