tests + moving out close() to some different place
Merge branch 'master' of github.com:zygm0nt/curator-playground