Add some tests for Bucket module