added attribute tests for carray.