Adding Unit testing for class Bucket.