Test that attributes() works.