fix memory leak in FontTest