yes, you have to take the Life in the UK Test prior to your ILR application.. it's one of the requirements.

hope it helps...