fix error with list buckets
Implement proper fixture for test with buckets