add test for list buckets (API)