You should pay for the cost of his time, it may not be your fault the test can't go ahead but it's not the instructor's fault either, and he has still provided you with the car and his own time. And presumably you did get some driving done anyway. The test fee itself will be refunded by DVSA, but assuming you paid for the test yourself they'll refund direct to you anyway and it won't be an issue.