support swap rebalance
fix snapshot timestamps
add swap rebalance tests
rename broker url to avoid conflicts