Lenders only take a percentage of the Gross rent into consideration i.e 75-80% so that takes care of the vacancies and expenses.
You serviceability would increase by that percentage of the rent the lender accepted and then reduce by a principal & interest factor based on the loan amount...