minor client.test.js cleanup