[test] Unify font file opening across the tests
13 files changed