update test code to check font loading