add swap rebalance test with views