Efficient Near-Optimal Testing of Community Changes in Balanced Stochastic Block Models