Fixed test counting.