reset counter so test is a valid condition