Add missing Attribute::* tests

I'm trying to get more familiar with DM source code. So I added some missing specs.