added attribute test cases
Merge pull request #36 from wzli/master

added attribute test cases