frontleaf: convert tests

cc @lancejpollard