Add test cases for class attributes