spec class' __setattr__ and __getattr__ works