EST-294: fix test for lease term: only tenancy start and tenancy end date can stop producing invoices, effectively ignoring the lease start and end date