refactored existing tests
tested bucket manager module, flushed out and fixed various bugs