add tests for sync bucket