allow attribute with a hyphen
add test case for attribute with a hyphen
Merge pull request #4 from tnguyen14/master

allow attribute with a hyphen