add InMemoryBucket to ease unit tests