Age at the time of application is locked in. My daughter went through this but we had a year's margin.
On the contrary, IMHO, it is important for youngish immigrants to read about the country they are calling home and therefore should give the test. Taking / reading about the citizenship test...