Move to py.test fixtures and simpler tests
Merge https://github.com/vmalloc/weber-minimal