Empty search result now returns empty array #8
avoid failed object decoding for error responses #7
Added unit test for error response