attrs.t: Test that attr handlers can see prototypes