fix wrong assertion in CssClassNameTest
add some tests for Attributes class