Yes... I believe that once upon a time, the 'Life in the UK Test' was designed for foreign nationals seeking to become naturalised British Citizens.
However, it was later extended to include those applying for ILR.
's my understanding anyway ...
... feel free to correct me about this on the offchance I've got it wrong.