frontleaf: convert tests
Merge pull request #305 from segmentio/test/frontleaf

frontleaf: convert tests