test/client: improved test coverage