TST/BUG: fixed references to class attributes (part3)