Test power management