Added test for attributes