Fixed error when bad HTTP request doesn't contain a data attribute
Added tests
Bumped version to 0.0.11