use pattern with slug
Add failing test to issue #10
Merge remote-tracking branch 'c9s/master'
merge up-stream fix