Remove obsolete code from testDeferredStyle