Why don't you check the font-size instead to make it a full end-to-end test?