Fix frame count tests