hittail: port tests
Merge pull request #299 from segmentio/test/hittail

hittail: port tests