Add some attributes tests.
Add messages.
Merge pull request #1329 from Ms2ger/attributes

Add some attributes tests.