England’s captain will be tested for fitness ahead of the final Test in Cape Town, while squad changes see two players released and a returning batsman ready to bat anywhere.