I'm afraid that for a modular course you are required to pass all CPL or ATPL groundschool before sitting the CPL skills test. Therefore the answer to the question is "nothing except an invoice for a retest fee once ground exams are passed". Your CPL school (with your co-operation) should ensure you do everyting in the correct order.