add test
https://trello.com/c/yoP3OmHd/174-make-it-possible-to-handle-almost-valid-response-from-server