One is expected to score higher in an ideal standardized test if they prepare for it.
One should not be able to score higher in an ideal IQ test if they prepare for it, since IQ tests by definition evaluate an innate ability.
Of course, in the real world no IQ test is ideal.