Simplify `setAttr` using specialized attr functions
Add skipped test for `addClass` functionality