`should add required attributes`