livechat: port tests to new api
Merge pull request #278 from segmentio/test/livechat

livechat: port tests to new api