improvely: port tests
Merge pull request #314 from segmentio/test/improvely

improvely: port tests