added test for setAttribute after pinClass was run