added the client test with error on stub