Attribute and Comment state tests