public async void DistributedQueryClientStripsPercentileOutOfQueryParameter()
        {
            bool didTestPass = false;

            DistributedQueryClient.RequesterFactory = new MockHttpRequesterFactory(requestMessage =>
            {
                Assert.AreEqual(string.Empty, requestMessage.RequestUri.Query);
                didTestPass = true;
                return(MockDataFactory.CreateFailedTieredResponse("me", HttpStatusCode.BadRequest));
            });

            // ensure the distributed client removed the 'percentile = xxx' parameter in the request
            var response =
                await
                this.client.CounterQuery("/something", CreateRequest(10, 5),
                                         new Dictionary <string, string> {
                { "Percentile", "45.1243" }
            });

            Assert.IsNotNull(response);

            Assert.IsTrue(didTestPass);
        }