If statement #2 above is passed, then:
This paragraph should be UA-default. The word important, however, should be blue. The rule applied is "P EM {color: blue}". Looking for element types here.
This paragraph should be UA-default. The word important in this paragraph should be silver. The rule applied is ".test EM {color: silver}". All other properties are UA-default. Looking for class here.
This paragraph should be UA-default. The word important here should be yellow. The rule applied here is "#id1 EM {color: yellow}". Looking for id here.
This paragraph should be silver. The word important should be lime. The rule applied here is "P.class1 EM {color: silver]". All other properties should be UA-default. Looking for combination of element and class here.