Fixed test code for antenna power.