fix config specs + config attr_accessor change

attr_accessor is not needed, only attr_writer, because for "attr_reader" we use config method.
Add detailed rspec tests for config