add test for style elements in an element declared in the main document + freshen