Attempt to fix font cache-related test failures