remove name pattern from model
add test to bug #177
fixes #177
Merge pull request #178 from baev/master

fixes #177