Strictly check if data is null instead of empty in order to return what's expected
Adding a test :)
Merge pull request #8 from jstruzik/bugfix/empty-response

Bugfix - Correctly Checking Data in Response