Vicky needs the answer to the question to properly answer #2, but #1 is "whenever you want to prior to applying for your ILR" but realise that they may change or update the test between now and when you apply for the next stage, so it is usually advisable not to take the exam until you are within 3 months of applying for the next thing.