more fixes to appointments client controller test