remove name pattern from model
add test to bug #177
fixes #177