[client][test] Fix style of an assertion