Include BucketId in GetCommitsFromInstant statement
Unit test moq related fixes.