fixes for source pattern search, fixed tests
Merge branch 'master' of github.com:r888888888/danbooru