[client][test] Fix an assertion style