add test for dynamic attribute creation
Merge pull request #23 from pbrady/test_attr

add test for dynamic attribute creation