Generating n count tests