Fixed the luhnValid function. The issue was that the doubling pattern was incorrect. The rightmost digit should NOT be doubled - only every second digit moving left from the right should be doubled. Changed `doubleDigit = true` to `doubleDigit = false` at the start of the loop. Tests now pass.