This test was using the engine property, which has been deprecated and thus generates an error now. Instead, use the font property.