Rename created bucket-types to be prefixed with 'pytest', fix PEP8
Add bucket-types tests (some stubbed), fix some pyflakes