testing power flow