https://www.gov.uk/penalty-points-endorsements/new-drivers''Any penalty points on your provisional licence that haven’t expired will be carried over to your full licence when you pass your test. However, your licence will be cancelled if you get any
further penalty points that take you up to a total of 6 or more
within 2 years of passing your driving test.''
So yes, you can do your driving test still. After you pass, those points will be put from your provisional to your actual license. They will stay there for 4 years, though generally only active for 3. Then, they will be erased. Since you have 6 points already, make sure that you don't acquire any more on your full license for the time stated. Otherwise, your license will cancelled.
The time starts from the day of the offence. So say this happened today on 11/07/2019.
And you passed your driving test say 22/07/2019.
Those points will be active on your full license till 11/07/2022
And they will be erased on 11/07/2023
But if you got more between 22/07/2019 - 22/07/2021, then your driving license will be cancelled. You are allowed up to 12 active points for your license to be cancelled after that.
Also yes, you do need to inform your insurance company. Not doing so may invalidate your insurance policy.
Hope this helps