Added tests for class attributes