Add test for attributes