fix incorrect test
Add test for empty token in body
Allow null body

See #69
Merge pull request #71 from thomseddon/fix/allow-null-body-safe

Allow null body