test(client): fix the unit tests