fixed class attrs and test now returns all wrong keys (not just the first bad one)