Unit test moq related fixes.
Bucket implementation for Raven
Bucket implementation for Mongo