improve test coverage
res.close() to res.end()
add test file
Merge pull request #88 from Trott/sse

Server-Sent Events for library.search()