fixed scope in AttributeStyleClassItem
added test for style atributes
gensources