public void TestFindUsersByName()
        {
            var provider = new MongoMembershipProvider();
            provider.Initialize(DefaultName, _config);

            for (int i = 0; i < 100; i++) {
                MembershipCreateStatus status;
                provider.CreateUser("test" + i, "123456", "*****@*****.**", "Test Question?", null, true, null,
                                    out status);
            }

            int totalRecords;
            var users = provider.FindUsersByName(@"test1\d*", 0, 20, out totalRecords).Cast<MembershipUser>().ToArray();

            Assert.AreEqual(11, totalRecords);

            for (int i = 0; i < 10; i++) {
                Assert.IsTrue(users[i].UserName.StartsWith("test1"));
            }
        }