add test case for NAME_PATTERN
Merge pull request #58 from zavakid/master

add test case for NAME_PATTERN