add client test to npm test