Update tests to work with recent freetype 2.4.
Merge pull request #453 from rhattersley/update-freetype

Update tests to work with recent freetype 2.4.