Add a couple of reduced test-cases for PR 4259

PR 4259 fixed a large number of font bugs, but none of those where added as test-cases. This was, in my opinion, unfortunate since it increases the risk of regressions in the future when other font bugs are fixed.
This PR simply adds a few more test-cases, to improve our test coverage somewhat.
Merge pull request #5105 from Snuffleupagus/pr-4259-tests

Add a couple of reduced test-cases for PR 4259