lytics: port tests to new api
Merge pull request #281 from segmentio/test/lytics

lytics: port tests to new api