Added some tests for attributes and classes