From the date the Class 7 licence expired, you have 3 years to renew the learner’s licence before you would require re-testing. You may renew your Class 7 GDL licence when it is less than 3 years since the expiry date. With your previous learners experience, you must hold the licence for 365 days before you are eligible for a Class 5 Basic road test. Even though your licence had expired, your learning history is still available, so the 1 year waiting period does not restart.
As your licence expired more than 6 months ago, you will need to surrender the previous licence, provide proof of legal presence in Canada (such as Cdn Passport or Cdn Birth Certificate, or immigration document) and proof of residency (bank statement, paystub, lease agreement, or utility bill).