public async Task CreateProfileFuzzTest()
        {
            var inner = "\"Username\": {0}, \"Domain\": {1}, \"Sid\":{2}";

            for (var i = 0; i < 100000; ++i)
            {
                var usernameBytes = GenerateBytes();
                var domainBytes   = GenerateBytes();
                var sidBytes      = GenerateBytes();

                var username = Encoding.Unicode.GetString(usernameBytes);
                var domain   = Encoding.Unicode.GetString(domainBytes);
                var sid      = Encoding.Unicode.GetString(sidBytes);

                var json = "{" + string.Format(inner, username, domain, sid) + "}";

                var testResult  = string.Empty;
                var creator     = new UserProfileServiceFuzzTestMock();
                var pipeFactory = new UserProfileTestNamedPipeTestStreamFactory();
                try {
                    await CreateProfileFuzzTestRunnerAsync(creator, pipeFactory, json, 100, 100);
                } catch (IOException) {
                    // expect pipe to fail. The client side pipe throws an IOException when the server side pipe
                    // closes due to IO error or attempt to access unauthorized memory.
                } catch (TaskCanceledException) {
                } catch (OperationCanceledException) {
                }
            }
        }
        public async Task CreateProfileFuzzTest() {
            string inner = "\"Username\": {0}, \"Domain\": {1}, \"Password\":{2}";
            for (int i = 0; i < 100000; ++i) {

                byte[] usernameBytes = GenerateBytes();
                byte[] domainBytes = GenerateBytes();
                byte[] passwordBytes = GenerateBytes();

                string username = Encoding.Unicode.GetString(usernameBytes);
                string domain = Encoding.Unicode.GetString(domainBytes);
                string password = Encoding.Unicode.GetString(passwordBytes);

                string json = "{" + string.Format(inner, username, domain, password) + "}";
                
                string testResult = string.Empty;
                UserProfileServiceFuzzTestMock creator = new UserProfileServiceFuzzTestMock();

                try {
                    await CreateProfileFuzzTestRunnerAsync(creator, json, 100, 100);
                } catch (IOException) {
                    // expect pipe to fail. The client side pipe throws an IOException when the server side pipe 
                    // closes due to IO error or attempt to access unauthorized memory.
                } catch (TaskCanceledException) {
                } catch (OperationCanceledException) {
                }
            }
        }