added __setattr__ operator overloading, and tests to make sure its compatible with instance vs class-level attributes.