Fix tests: Apply webfonts only after it is added to DOM

Otherwise DOM parsing will fail to set fonts for new nodes
Also check for fallback fonts instead of empty font after reset.