diff --git a/DataList/DataListFiltering.cs b/DataList/DataListFiltering.cs
deleted file mode 100644
index 3687215..0000000
--- a/DataList/DataListFiltering.cs
+++ /dev/null
@@ -1,4004 +0,0 @@
-//case 4648 TODO: replace datalist tests with new ones from scratch
-//easiest thing to do is copy working payloads from actual session in UI
-//just exercise the basics, no need to go crazy like before, only need to know if
-//essential services for datagrids are failing
-
-
-
-
-// using FluentAssertions;
-// using Newtonsoft.Json.Linq;
-// using Xunit;
-
-// namespace raven_integration
-// {
-
-
-// /*
-
-// EVERY TYPE, EVERY OP
-
-// Using the widget object test all filtering options
-// for all data types, all operation types
-
-// This is the supertest to always confirm the filtering code is working as expected.
-
-
-// BUGBUG: Server takes into account user's time zone offset when filtering lists by date range but here the local test runner just uses the windows system offset instead of the defined offset in the User account at the server
-// Fix: Since seeder uses same time zone for all users it generates then can simply fetch one single users' tz offset and use that centerally to calculate a relative now and relative today
-// same as the server does but in a central location here for all tests to use.
-
-// */
-
-// public class DataListFiltering
-// {
-
-
-
-
-
-
-// ///////////////////////////////////////////////////////////////////////////////
-// //DATE
-// //
-
-// #region DATE FILTER TESTS
-
-// // public const string TokenYesterday = "{[yesterday]}";
-// // public const string TokenToday = "{[today]}";
-// // public const string TokenTomorrow = "{[tomorrow]}";
-// // public const string TokenLastWeek = "{[lastweek]}";
-// // public const string TokenThisWeek = "{[thisweek]}";
-// // public const string TokenNextWeek = "{[nextweek]}";
-// // public const string TokenLastMonth = "{[lastmonth]}";
-// // public const string TokenThisMonth = "{[thismonth]}";
-// // public const string TokenNextMonth = "{[nextmonth]}";
-// // public const string TokenFourteenDayWindow = "{[14daywindow]}";
-// // public const string TokenPast = "{[past]}";
-// // public const string TokenFuture = "{[future]}";
-// // public const string TokenLastYear = "{[lastyear]}";
-// // public const string TokenThisYear = "{[thisyear]}";
-// // public const string TokenInTheLast3Months = "{[last3months]}";
-// // public const string TokenInTheLast6Months = "{[last6months]}";
-// // public const string TokenInTheLastYear = "{[lastcalendaryear]}";
-
-// // //More business time frames
-
-// // public const string TokenYearToDate = "{[yeartodate]}";
-
-// // public const string TokenPast90Days = "{[past90days]}";
-// // public const string TokenPast30Days = "{[past30days]}";
-// // public const string TokenPast24Hours = "{[past24hours]}";
-
-// // //Months THIS year
-// // public const string TokenJanuary = "{[january]}";
-// // public const string TokenFebruary = "{[february]}";
-// // public const string TokenMarch = "{[march]}";
-// // public const string TokenApril = "{[april]}";
-// // public const string TokenMay = "{[may]}";
-// // public const string TokenJune = "{[june]}";
-// // public const string TokenJuly = "{[july]}";
-// // public const string TokenAugust = "{[august]}";
-// // public const string TokenSeptember = "{[september]}";
-// // public const string TokenOctober = "{[october]}";
-// // public const string TokenNovember = "{[november]}";
-// // public const string TokenDecember = "{[december]}";
-
-
-// #region DATE REGULAR FILTERS
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task DateOpEqualityFilterWorks()
-// {
-
-// var WidgetNameStart = "DateOpEqualityFilterWorks";
-
-// long IncludedWidgetId = 0;
-// long ExcludedWidgetId = 0;
-
-// //CREATE TEST WIDGETS
-
-// //included widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "blah";
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.startDate = new DateTime(1968, 3, 12, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.endDate = new DateTime(1968, 3, 12, 11, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// IncludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //Excluded widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.startDate = new DateTime(1968, 3, 10, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.endDate = new DateTime(1968, 3, 10, 11, 0, 0).ToOffsetAdjustedUniversalTime();
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExcludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //CREATE LISTVIEW
-
-// dynamic dListView = new JArray();
-
-
-// //name starts with filter to constrict to widgets that this test block created only
-
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //## INCLUSIVE FILTER
-// // dynamic FilterItem = new JObject();
-// // FilterItem.fld = "widgetstartdate";
-// // FilterItem.op = Util.OpEquality;
-// // FilterItem.value = new DateTime(1968, 3, 12, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// // dListView.Add(Util.BuildSimpleFilterDataListViewColumn("XXXX", Util.XXXX, XXXX));
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetstartdate", Util.OpEquality, new DateTime(1968, 3, 12, 10, 0, 0).ToOffsetAdjustedUniversalTime()));
-
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least this test record
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(0);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-
-// if (IncludedWidgetId == o["i"].Value())
-// InclusiveMatchCount++;
-// if (ExcludedWidgetId == o["i"].Value())
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().BeGreaterOrEqualTo(1);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// a = await Util.DeleteAsync("widget/" + IncludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// a = await Util.DeleteAsync("widget/" + ExcludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-
-// }
-
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task DateOpGreaterThanFilterWorks()
-// {
-
-// var WidgetNameStart = "DateOpGreaterThanFilterWorks";
-
-// long IncludedWidgetId = 0;
-// long ExcludedWidgetId = 0;
-
-// //CREATE TEST WIDGETS
-
-// //included widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "blah";
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.startDate = new DateTime(1970, 3, 12, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.endDate = new DateTime(1970, 3, 12, 11, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// IncludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //Excluded widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.startDate = new DateTime(1968, 3, 10, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.endDate = new DateTime(1968, 3, 10, 11, 0, 0).ToOffsetAdjustedUniversalTime();
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExcludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //## INCLUSIVE FILTER
-// // dynamic FilterItem = new JObject();
-// // FilterItem.fld = "widgetstartdate";
-// // FilterItem.op = Util.OpGreaterThan;
-// // FilterItem.value = new DateTime(1970, 3, 12, 9, 0, 0).ToOffsetAdjustedUniversalTime();
-// // dListView.Add(Util.BuildSimpleFilterDataListViewColumn("XXXX", Util.XXXX, XXXX));
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetstartdate", Util.OpGreaterThan, new DateTime(1970, 3, 12, 9, 0, 0).ToOffsetAdjustedUniversalTime()));
-
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least this test record
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(0);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-
-// if (IncludedWidgetId == o["i"].Value())
-// InclusiveMatchCount++;
-// if (ExcludedWidgetId == o["i"].Value())
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().BeGreaterOrEqualTo(1);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// a = await Util.DeleteAsync("widget/" + IncludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// a = await Util.DeleteAsync("widget/" + ExcludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task DateOpGreaterThanOrEqualToFilterWorks()
-// {
-
-// var WidgetNameStart = "DateOpGreaterThanOrEqualToFilterWorks";
-
-// long IncludedWidgetId = 0;
-// long ExcludedWidgetId = 0;
-
-// //CREATE TEST WIDGETS
-
-// //included widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "blah";
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.startDate = new DateTime(1970, 3, 12, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.endDate = new DateTime(1970, 3, 12, 11, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// IncludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //Excluded widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.startDate = new DateTime(1968, 3, 10, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.endDate = new DateTime(1968, 3, 10, 11, 0, 0).ToOffsetAdjustedUniversalTime();
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExcludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //CREATE LISTVIEW
-
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //## INCLUSIVE FILTER
-// // dynamic FilterItem = new JObject();
-// // FilterItem.fld = "widgetstartdate";
-// // FilterItem.op = Util.OpGreaterThanOrEqualTo;
-// // FilterItem.value = new DateTime(1970, 3, 12, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// // dListView.Add(Util.BuildSimpleFilterDataListViewColumn("XXXX", Util.XXXX, XXXX));
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetstartdate", Util.OpGreaterThanOrEqualTo, new DateTime(1970, 3, 12, 10, 0, 0).ToOffsetAdjustedUniversalTime()));
-
-
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least this test record
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(0);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-
-// if (IncludedWidgetId == o["i"].Value())
-// InclusiveMatchCount++;
-// if (ExcludedWidgetId == o["i"].Value())
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().BeGreaterOrEqualTo(1);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// a = await Util.DeleteAsync("widget/" + IncludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// a = await Util.DeleteAsync("widget/" + ExcludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task DateOpLessThanFilterWorks()
-// {
-
-// var WidgetNameStart = "DateOpLessThanFilterWorks";
-
-// long IncludedWidgetId = 0;
-// long ExcludedWidgetId = 0;
-
-// //CREATE TEST WIDGETS
-
-// //included widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "blah";
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.startDate = new DateTime(1970, 3, 12, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.endDate = new DateTime(1970, 3, 12, 11, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// IncludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //Excluded widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.startDate = new DateTime(1970, 4, 10, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.endDate = new DateTime(1970, 4, 10, 11, 0, 0).ToOffsetAdjustedUniversalTime();
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExcludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //## INCLUSIVE FILTER
-// // dynamic FilterItem = new JObject();
-// // FilterItem.fld = "widgetstartdate";
-// // FilterItem.op = Util.OpLessThan;
-// // FilterItem.value = new DateTime(1970, 3, 12, 11, 0, 0).ToOffsetAdjustedUniversalTime();
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetstartdate", Util.OpLessThan, new DateTime(1970, 3, 12, 11, 0, 0).ToOffsetAdjustedUniversalTime()));
-
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least this test record
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(0);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-
-// if (IncludedWidgetId == o["i"].Value())
-// InclusiveMatchCount++;
-// if (ExcludedWidgetId == o["i"].Value())
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().BeGreaterOrEqualTo(1);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// a = await Util.DeleteAsync("widget/" + IncludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// a = await Util.DeleteAsync("widget/" + ExcludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task DateOpLessThanOrEqualToFilterWorks()
-// {
-
-// var WidgetNameStart = "DateOpLessThanOrEqualToFilterWorks";
-
-// long IncludedWidgetId = 0;
-// long ExcludedWidgetId = 0;
-
-// //CREATE TEST WIDGETS
-
-// //included widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "blah";
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.startDate = new DateTime(1970, 3, 12, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.endDate = new DateTime(1970, 3, 12, 11, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// IncludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //Excluded widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.startDate = new DateTime(1970, 4, 10, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.endDate = new DateTime(1970, 4, 10, 11, 0, 0).ToOffsetAdjustedUniversalTime();
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExcludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //## INCLUSIVE FILTER
-// // dynamic FilterItem = new JObject();
-// // FilterItem.fld = "widgetstartdate";
-// // FilterItem.op = Util.OpLessThanOrEqualTo;
-// // FilterItem.value = new DateTime(1970, 3, 12, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetstartdate", Util.OpLessThanOrEqualTo, new DateTime(1970, 3, 12, 10, 0, 0).ToOffsetAdjustedUniversalTime()));
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least this test record
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(0);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-
-// if (IncludedWidgetId == o["i"].Value())
-// InclusiveMatchCount++;
-// if (ExcludedWidgetId == o["i"].Value())
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().BeGreaterOrEqualTo(1);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// a = await Util.DeleteAsync("widget/" + IncludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// a = await Util.DeleteAsync("widget/" + ExcludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task DateOpNotEqualToFilterWorks()
-// {
-
-// var WidgetNameStart = "DateOpNotEqualToFilterWorks";
-
-// long IncludedWidgetId = 0;
-// long ExcludedWidgetId = 0;
-
-// //CREATE TEST WIDGETS
-
-// //included widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "blah";
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.startDate = new DateTime(1970, 3, 12, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.endDate = new DateTime(1970, 3, 12, 11, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// IncludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //Excluded widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.startDate = new DateTime(1970, 4, 10, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.endDate = new DateTime(1970, 4, 10, 11, 0, 0).ToOffsetAdjustedUniversalTime();
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExcludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //## INCLUSIVE FILTER
-// // dynamic FilterItem = new JObject();
-// // FilterItem.fld = "widgetstartdate";
-// // FilterItem.op = Util.OpNotEqual;
-// // FilterItem.value = new DateTime(1970, 4, 10, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetstartdate", Util.OpNotEqual, new DateTime(1970, 4, 10, 10, 0, 0).ToOffsetAdjustedUniversalTime()));
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least this test record
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(0);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-
-// if (IncludedWidgetId == o["i"].Value())
-// InclusiveMatchCount++;
-// if (ExcludedWidgetId == o["i"].Value())
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().BeGreaterOrEqualTo(1);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// a = await Util.DeleteAsync("widget/" + IncludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// a = await Util.DeleteAsync("widget/" + ExcludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task DateOpBetweenFilterWorks()
-// {
-
-// var WidgetNameStart = "DateOpBetweenFilterWorks";
-
-// long IncludedWidgetId = 0;
-// long ExcludedWidgetId = 0;
-
-// //CREATE TEST WIDGETS
-
-// //included widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "blah";
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.startDate = new DateTime(2019, 3, 12, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.endDate = new DateTime(2019, 3, 12, 11, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// IncludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //Excluded widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.startDate = new DateTime(2019, 3, 12, 8, 0, 0).ToOffsetAdjustedUniversalTime();
-// w.endDate = new DateTime(2019, 3, 12, 9, 0, 0).ToOffsetAdjustedUniversalTime();
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExcludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //CREATE LISTVIEW
-
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //## INCLUSIVE FILTER
-// // dynamic FilterItem = new JObject();
-// // FilterItem.fld = "widgetstartdate";
-// // FilterItem.op = Util.OpGreaterThanOrEqualTo;
-// // FilterItem.value = new DateTime(2019, 3, 12, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// // dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetstartdate", Util.OpGreaterThanOrEqualTo, new DateTime(2019, 3, 12, 10, 0, 0).ToOffsetAdjustedUniversalTime()));
-
-
-// // dynamic FilterItem2 = new JObject();
-// // FilterItem2.fld = "widgetstartdate";
-// // FilterItem2.op = Util.OpLessThanOrEqualTo;
-// // FilterItem2.value = new DateTime(2019, 3, 12, 11, 0, 0).ToOffsetAdjustedUniversalTime();
-// // dListView.Add(FilterItem2);
-
-// //Build multiple condition filter (not handled by util method)
-// dynamic d = new JObject();
-// d.fld = "widgetstartdate";
-
-
-// dynamic filter = new JObject();
-// dynamic items = new JArray();
-
-// dynamic fitem = new JObject();
-// fitem.op = Util.OpGreaterThanOrEqualTo;
-// fitem.value = new DateTime(2019, 3, 12, 10, 0, 0).ToOffsetAdjustedUniversalTime();
-// items.Add(fitem);
-
-// fitem = new JObject();
-// fitem.op = Util.OpLessThanOrEqualTo;
-// fitem.value = new DateTime(2019, 3, 12, 11, 0, 0).ToOffsetAdjustedUniversalTime();
-// items.Add(fitem);
-
-
-// filter.items = items;
-// d.filter = filter;
-
-// dListView.Add(d);
-
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least this test record
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(0);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-
-// if (IncludedWidgetId == o["i"].Value())
-// InclusiveMatchCount++;
-// if (ExcludedWidgetId == o["i"].Value())
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().BeGreaterOrEqualTo(1);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// a = await Util.DeleteAsync("widget/" + IncludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// a = await Util.DeleteAsync("widget/" + ExcludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// }
-
-// /*
-// RELATIVE TOKEN EXAMPLE:
-
-// public const string TokenYesterday = "{[yesterday]}";
-// public const string TokenToday = "{[today]}";
-// public const string TokenTomorrow = "{[tomorrow]}";
-// public const string TokenLastWeek = "{[lastweek]}";
-// public const string TokenThisWeek = "{[thisweek]}";
-// public const string TokenNextWeek = "{[nextweek]}";
-// public const string TokenLastMonth = "{[lastmonth]}";
-// public const string TokenThisMonth = "{[thismonth]}";
-// public const string TokenNextMonth = "{[nextmonth]}";
-// public const string TokenFourteenDayWindow = "{[14daywindow]}";
-// public const string TokenPast = "{[past]}";
-// public const string TokenFuture = "{[future]}";
-// public const string TokenLastYear = "{[lastyear]}";
-// public const string TokenThisYear = "{[thisyear]}";
-// public const string TokenInTheLast3Months = "{[last3months]}";
-// public const string TokenInTheLast6Months = "{[last6months]}";
-// public const string TokenInTheLastYear = "{[lastcalendaryear]}";
-
-// //More business time frames
-
-// public const string TokenYearToDate = "{[yeartodate]}";
-
-// public const string TokenPast90Days = "{[past90days]}";
-// public const string TokenPast30Days = "{[past30days]}";
-// public const string TokenPast24Hours = "{[past24hours]}";
-
-// //Months THIS year
-// public const string TokenJanuary = "{[january]}";
-// public const string TokenFebruary = "{[february]}";
-// public const string TokenMarch = "{[march]}";
-// public const string TokenApril = "{[april]}";
-// public const string TokenMay = "{[may]}";
-// public const string TokenJune = "{[june]}";
-// public const string TokenJuly = "{[july]}";
-// public const string TokenAugust = "{[august]}";
-// public const string TokenSeptember = "{[september]}";
-// public const string TokenOctober = "{[october]}";
-// public const string TokenNovember = "{[november]}";
-// public const string TokenDecember = "{[december]}";
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task DateTokenYesterdayFilterWorks()
-// {
-
-// var WidgetNameStart = "DateTokenYesterdayFilterWorks";
-
-// long IncludedWidgetId = 0;
-// long ExcludedWidgetId = 0;
-
-// //CREATE TEST WIDGETS
-
-// //included widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "blah";
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.startDate = DateTime.UtcNow.AddDays(-1);
-// w.endDate = DateTime.UtcNow.AddHours(1).AddDays(-1);
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// IncludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //Excluded widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.startDate = DateTime.UtcNow;
-// w.endDate = DateTime.UtcNow.AddHours(1);
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExcludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //CREATE LISTVIEW
-// dynamic d = new JObject();
-// d.name = Util.Uniquify(WidgetNameStart);
-
-// d["public"] = true;
-// d.listKey = "TestWidgetDataList";
-
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //## INCLUSIVE FILTER
-// dynamic FilterItem = new JObject();
-// FilterItem.fld = "widgetstartdate";
-// FilterItem.op = Util.OpEquality;
-// FilterItem.value = TokenYesterday;
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("XXXX", Util.XXXX, XXXX));
-
-
-
-// a = await Util, await Util.GetTokenAsync("BizAdmin"), d.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-
-// long DataFilterId = a.ObjectResponse["data"]["id"].Value();
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least this test record
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(0);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (IncludedWidgetId == o["i"].Value())
-// InclusiveMatchCount++;
-// if (ExcludedWidgetId == o["i"].Value())
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().BeGreaterOrEqualTo(1);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// a = await Util.DeleteAsync("widget/" + IncludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// a = await Util.DeleteAsync("widget/" + ExcludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-
-// //DELETE DATAFILTER
-// a = await Util.DeleteAsync("DataListFilter/" + DataFilterId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-
-
-// */
-
-// #endregion DATE REGULAR FILTERS
-// //========
-
-// #endregion date filter tests
-
-
-
-// ///////////////////////////////////////////////////////////////////////////////
-// //TEXT
-// //
-
-// #region STRING FILTER TESTS
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task TextOpEqualityFilterWorks()
-// {
-
-// var TestName = "TextOpEqualityFilterWorks";
-// var WidgetNameStart = Util.Uniquify(TestName);
-
-// List InclusiveWidgetIdList = new List();
-// List ExclusiveWidgetIdList = new List();
-
-// //CREATE 4 TEST WIDGETS
-// //two inclusive and two not inclusive
-
-// //first inclusive widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = "aardvark";
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second inclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //first exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "zebra";
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //FILTER
-// // dynamic DataFilterActive = new JObject();
-// // DataFilterActive.fld = "widgetnotes";
-// // DataFilterActive.op = Util.OpEquality;
-// // DataFilterActive.value = "aardvark";
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetnotes", Util.OpEquality, "aardvark"));
-
-
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least two records
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(1);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (InclusiveWidgetIdList.Contains(o["i"].Value()))
-// InclusiveMatchCount++;
-// if (ExclusiveWidgetIdList.Contains(o["i"].Value()))
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().Be(InclusiveWidgetIdList.Count);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// foreach (long l in InclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-// foreach (long l in ExclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-// }
-
-
-
-
-// ///
-// /// Specifically test a string with an apostrophe in it (for inclusive)
-// ///
-// [Fact]
-// public async Task TextApostropheOpEqualityFilterWorks()
-// {
-
-// var TestName = "TextApostropheOpEqualityFilterWorks";
-// var WidgetNameStart = Util.Uniquify(TestName);
-
-// List InclusiveWidgetIdList = new List();
-// List ExclusiveWidgetIdList = new List();
-
-// //CREATE 4 TEST WIDGETS
-// //two inclusive and two not inclusive
-
-// //first inclusive widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = "O'Flaherty's pub";
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second inclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //first exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "Outback steak house";
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-// //FILTER
-// // dynamic DataFilterActive = new JObject();
-// // DataFilterActive.fld = "widgetnotes";
-// // DataFilterActive.op = Util.OpEquality;
-// // DataFilterActive.value = "O'Flaherty's pub";
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetnotes", Util.OpEquality, "O'Flaherty's pub"));
-
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least two records
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(1);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (InclusiveWidgetIdList.Contains(o["i"].Value()))
-// InclusiveMatchCount++;
-// if (ExclusiveWidgetIdList.Contains(o["i"].Value()))
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().Be(InclusiveWidgetIdList.Count);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// foreach (long l in InclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-// foreach (long l in ExclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-// }
-
-// ///
-// /// specifically test a string with an ampersand character in it for inclusive (finding it)
-// ///
-// [Fact]
-// public async Task TextAmpersandOpEqualityFilterWorks()
-// {
-
-// var TestName = "TextAmpersandOpEqualityFilterWorks";
-// var WidgetNameStart = Util.Uniquify(TestName);
-
-// List InclusiveWidgetIdList = new List();
-// List ExclusiveWidgetIdList = new List();
-
-// //CREATE 4 TEST WIDGETS
-// //two inclusive and two not inclusive
-
-// //first inclusive widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = "Bill & Ted's excellent adventure";
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second inclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //first exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "Strange things are afoot at the Circle-K";
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //FILTER
-// // dynamic DataFilterActive = new JObject();
-// // DataFilterActive.fld = "widgetnotes";
-// // DataFilterActive.op = Util.OpEquality;
-// // DataFilterActive.value = "Bill & Ted's excellent adventure";
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetnotes", Util.OpEquality, "Bill & Ted's excellent adventure"));
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least two records
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(1);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-
-
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-
-// if (InclusiveWidgetIdList.Contains(o["i"].Value()))
-// InclusiveMatchCount++;
-// if (ExclusiveWidgetIdList.Contains(o["i"].Value()))
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().Be(InclusiveWidgetIdList.Count);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// foreach (long l in InclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-// foreach (long l in ExclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-// }
-
-// ///
-// /// specifically test a non english unicode string
-// ///
-// [Fact]
-// public async Task TextUnicodeOpEqualityFilterWorks()
-// {
-
-// var TestName = "TextUnicodeOpEqualityFilterWorks";
-// var WidgetNameStart = Util.Uniquify(TestName);
-
-// List InclusiveWidgetIdList = new List();
-// List ExclusiveWidgetIdList = new List();
-
-// //CREATE 4 TEST WIDGETS
-// //two inclusive and two not inclusive
-
-// //first inclusive widget
-// var InclusiveTestString = "Ādam Iñtërnâtiônàližætiøn";
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = InclusiveTestString;
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second inclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //first exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "Adam Internationalization";
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //FILTER
-// // dynamic DataFilterActive = new JObject();
-// // DataFilterActive.fld = "widgetnotes";
-// // DataFilterActive.op = Util.OpEquality;
-// // DataFilterActive.value = InclusiveTestString;
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetnotes", Util.OpEquality, InclusiveTestString));
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least two records
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(1);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (InclusiveWidgetIdList.Contains(o["i"].Value()))
-// InclusiveMatchCount++;
-// if (ExclusiveWidgetIdList.Contains(o["i"].Value()))
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().Be(InclusiveWidgetIdList.Count);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// foreach (long l in InclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-// foreach (long l in ExclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-// }
-
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task TextOpGreaterThanFilterWorks()
-// {
-
-// var TestName = "TextOpGreaterThanFilterWorks";
-// var WidgetNameStart = Util.Uniquify(TestName);
-
-// List InclusiveWidgetIdList = new List();
-// List ExclusiveWidgetIdList = new List();
-
-// //CREATE 4 TEST WIDGETS
-// //two inclusive and two not inclusive
-
-// //first inclusive widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = "Alabama";
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second inclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //first exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "Aardvark";
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //FILTER
-// // dynamic DataFilterActive = new JObject();
-// // DataFilterActive.fld = "widgetnotes";
-// // DataFilterActive.op = Util.OpGreaterThan;
-// // DataFilterActive.value = "Aardvark";
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetnotes", Util.OpGreaterThan, "Aardvark"));
-
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least two records
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(1);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (InclusiveWidgetIdList.Contains(o["i"].Value()))
-// InclusiveMatchCount++;
-// if (ExclusiveWidgetIdList.Contains(o["i"].Value()))
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().Be(InclusiveWidgetIdList.Count);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// foreach (long l in InclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-// foreach (long l in ExclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-// }
-
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task TextOpGreaterThanOrEqualToFilterWorks()
-// {
-
-// var TestName = "TextOpGreaterThanOrEqualToFilterWorks";
-// var WidgetNameStart = Util.Uniquify(TestName);
-
-// List InclusiveWidgetIdList = new List();
-// List ExclusiveWidgetIdList = new List();
-
-// //CREATE 4 TEST WIDGETS
-// //two inclusive and two not inclusive
-
-// //first inclusive widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = "Bjorn";
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second inclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //first exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "Bing";
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //FILTER
-// // dynamic DataFilterActive = new JObject();
-// // DataFilterActive.fld = "widgetnotes";
-// // DataFilterActive.op = Util.OpGreaterThanOrEqualTo;
-// // DataFilterActive.value = "Bjarn";
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetnotes", Util.OpGreaterThanOrEqualTo, "Bjarn"));
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least two records
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(1);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (InclusiveWidgetIdList.Contains(o["i"].Value()))
-// InclusiveMatchCount++;
-// if (ExclusiveWidgetIdList.Contains(o["i"].Value()))
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().Be(InclusiveWidgetIdList.Count);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// foreach (long l in InclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-// foreach (long l in ExclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-// }
-
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task TextOpLessThanFilterWorks()
-// {
-
-// var TestName = "TextOpLessThanFilterWorks";
-// var WidgetNameStart = Util.Uniquify(TestName);
-
-// List InclusiveWidgetIdList = new List();
-// List ExclusiveWidgetIdList = new List();
-
-// //CREATE 4 TEST WIDGETS
-// //two inclusive and two not inclusive
-
-// //first inclusive widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = "California";
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second inclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //first exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "Cthulu";
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //FILTER
-// // dynamic DataFilterActive = new JObject();
-// // DataFilterActive.fld = "widgetnotes";
-// // DataFilterActive.op = Util.OpLessThan;
-// // DataFilterActive.value = "Celery";
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetnotes", Util.OpLessThan, "Celery"));
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least two records
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(1);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (InclusiveWidgetIdList.Contains(o["i"].Value()))
-// InclusiveMatchCount++;
-// if (ExclusiveWidgetIdList.Contains(o["i"].Value()))
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().Be(InclusiveWidgetIdList.Count);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// foreach (long l in InclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-// foreach (long l in ExclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-// }
-
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task TextOpLessThanOrEqualToFilterWorks()
-// {
-
-// var TestName = "TextOpLessThanOrEqualToFilterWorks";
-// var WidgetNameStart = Util.Uniquify(TestName);
-
-// List InclusiveWidgetIdList = new List();
-// List ExclusiveWidgetIdList = new List();
-
-// //CREATE 4 TEST WIDGETS
-// //two inclusive and two not inclusive
-
-// //first inclusive widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = "Donut";
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second inclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //first exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "Duvet";
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //FILTER
-// // dynamic DataFilterActive = new JObject();
-// // DataFilterActive.fld = "widgetnotes";
-// // DataFilterActive.op = Util.OpLessThanOrEqualTo;
-// // DataFilterActive.value = "Dusseldorf";
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetnotes", Util.OpLessThanOrEqualTo, "Dusseldorf"));
-
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least two records
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(1);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (InclusiveWidgetIdList.Contains(o["i"].Value()))
-// InclusiveMatchCount++;
-// if (ExclusiveWidgetIdList.Contains(o["i"].Value()))
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().Be(InclusiveWidgetIdList.Count);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// foreach (long l in InclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-// foreach (long l in ExclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-// }
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task TextOpNotEqualFilterWorks()
-// {
-
-// var TestName = "TextOpNotEqualFilterWorks";
-// var WidgetNameStart = Util.Uniquify(TestName);
-
-// List InclusiveWidgetIdList = new List();
-// List ExclusiveWidgetIdList = new List();
-
-// //CREATE 4 TEST WIDGETS
-// //two inclusive and two not inclusive
-
-// //first inclusive widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = "Egg Salad Sandwich";
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second inclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //first exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "Elephant";
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //FILTER
-// // dynamic DataFilterActive = new JObject();
-// // DataFilterActive.fld = "widgetnotes";
-// // DataFilterActive.op = Util.OpNotEqual;
-// // DataFilterActive.value = "Elephant";
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetnotes", Util.OpNotEqual, "Elephant"));
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least two records
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(1);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (InclusiveWidgetIdList.Contains(o["i"].Value()))
-// InclusiveMatchCount++;
-// if (ExclusiveWidgetIdList.Contains(o["i"].Value()))
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().Be(InclusiveWidgetIdList.Count);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// foreach (long l in InclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-// foreach (long l in ExclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-// }
-
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task TextOpNotContainsFilterWorks()
-// {
-// var TestName = "TextOpNotContainsFilterWorks";
-// var WidgetNameStart = Util.Uniquify(TestName);
-
-// List InclusiveWidgetIdList = new List();
-// List ExclusiveWidgetIdList = new List();
-
-// //CREATE 4 TEST WIDGETS
-// //two inclusive and two not inclusive
-
-// //first inclusive widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = "Gray poupon";
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second inclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //first exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "Get shorty";
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //FILTER
-// // dynamic DataFilterActive = new JObject();
-// // DataFilterActive.fld = "widgetnotes";
-// // DataFilterActive.op = Util.OpNotContains;
-// // DataFilterActive.value = "short";
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetnotes", Util.OpNotContains, "short"));
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least two records
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(1);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (InclusiveWidgetIdList.Contains(o["i"].Value()))
-// InclusiveMatchCount++;
-// if (ExclusiveWidgetIdList.Contains(o["i"].Value()))
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().Be(InclusiveWidgetIdList.Count);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// foreach (long l in InclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-// foreach (long l in ExclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-// }
-
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task TextOpContainsFilterWorks()
-// {
-// var TestName = "TextOpContainsFilterWorks";
-// var WidgetNameStart = Util.Uniquify(TestName);
-
-// List InclusiveWidgetIdList = new List();
-// List ExclusiveWidgetIdList = new List();
-
-// //CREATE 4 TEST WIDGETS
-// //two inclusive and two not inclusive
-
-// //first inclusive widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = "Fast Freddy Freak";
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second inclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //first exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "Phineas Freak";
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //FILTER
-// // dynamic DataFilterActive = new JObject();
-// // DataFilterActive.fld = "widgetnotes";
-// // DataFilterActive.op = Util.OpContains;
-// // DataFilterActive.value = "red";
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetnotes", Util.OpContains, "red"));
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least two records
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(1);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (InclusiveWidgetIdList.Contains(o["i"].Value()))
-// InclusiveMatchCount++;
-// if (ExclusiveWidgetIdList.Contains(o["i"].Value()))
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().Be(InclusiveWidgetIdList.Count);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// foreach (long l in InclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-// foreach (long l in ExclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-// }
-
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task TextOpStartsWithFilterWorks()
-// {
-// var TestName = "TextOpStartsWithFilterWorks";
-// var WidgetNameStart = Util.Uniquify(TestName);
-
-// List InclusiveWidgetIdList = new List();
-// List ExclusiveWidgetIdList = new List();
-
-// //CREATE 4 TEST WIDGETS
-// //two inclusive and two not inclusive
-
-// //first inclusive widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = "Granular";
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second inclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //first exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "Gus Grifferson";
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //FILTER
-// // dynamic DataFilterActive = new JObject();
-// // DataFilterActive.fld = "widgetnotes";
-// // DataFilterActive.op = Util.OpStartsWith;
-// // DataFilterActive.value = "Gra";
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetnotes", Util.OpStartsWith, "Gra"));
-
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least two records
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(1);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (InclusiveWidgetIdList.Contains(o["i"].Value()))
-// InclusiveMatchCount++;
-// if (ExclusiveWidgetIdList.Contains(o["i"].Value()))
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().Be(InclusiveWidgetIdList.Count);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// foreach (long l in InclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-// foreach (long l in ExclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-// }
-
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task TextOpEndsWithFilterWorks()
-// {
-// var TestName = "TextOpEndsWithFilterWorks";
-// var WidgetNameStart = Util.Uniquify(TestName);
-
-// List InclusiveWidgetIdList = new List();
-// List ExclusiveWidgetIdList = new List();
-
-// //CREATE 4 TEST WIDGETS
-// //two inclusive and two not inclusive
-
-// //first inclusive widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = "Bo Horvat";
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second inclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// InclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //first exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.notes = "Bo Duke";
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second exclusive widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExclusiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //FILTER
-// // dynamic DataFilterActive = new JObject();
-// // DataFilterActive.fld = "widgetnotes";
-// // DataFilterActive.op = Util.OpEndsWith;
-// // DataFilterActive.value = "vat";
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetnotes", Util.OpEndsWith, "vat"));
-
-
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least two records
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(1);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (InclusiveWidgetIdList.Contains(o["i"].Value()))
-// InclusiveMatchCount++;
-// if (ExclusiveWidgetIdList.Contains(o["i"].Value()))
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().Be(InclusiveWidgetIdList.Count);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// foreach (long l in InclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-// foreach (long l in ExclusiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-// }
-
-
-// //======================
-
-// #endregion string filter tests
-
-
-
-
-// ///////////////////////////////////////////////////////////////////////////////
-// //INT
-// //
-// #region INTEGER TESTS
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task IntegerOpEqualityFilterWorks()
-// {
-
-// var WidgetNameStart = "IntegerDataFilterTest";
-
-// long IncludedWidgetId = 0;
-// long ExcludedWidgetId = 0;
-
-// //CREATE TEST WIDGETS
-
-
-// //included widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.active = true;
-// w.usertype = 1;
-// w.count = 5;
-// w.notes = "blah";
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// IncludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //Excluded widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.count = 3;
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExcludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //inclusive test filter
-
-// // dynamic FilterItem = new JObject();
-// // FilterItem.fld = "widgetcount";
-// // FilterItem.op = Util.OpEquality;
-// // FilterItem.value = 5;
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetcount", Util.OpEquality, 5));
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least this test record
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(0);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (IncludedWidgetId == o["i"].Value())
-// InclusiveMatchCount++;
-// if (ExcludedWidgetId == o["i"].Value())
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().BeGreaterOrEqualTo(1);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// a = await Util.DeleteAsync("widget/" + IncludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// a = await Util.DeleteAsync("widget/" + ExcludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// }
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task IntegerOpGreaterThanFilterWorks()
-// {
-
-// var WidgetNameStart = "IntegerOpGreaterThanFilterWorks";
-
-// long IncludedWidgetId = 0;
-// long ExcludedWidgetId = 0;
-
-// //CREATE TEST WIDGETS
-
-// //included widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = "blah";
-// w.active = true;
-// w.usertype = 1;
-// w.count = 55;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// IncludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //Excluded widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.count = -55;
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExcludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //inclusive test filter
-
-// // dynamic FilterItem = new JObject();
-// // FilterItem.fld = "widgetcount";
-// // FilterItem.op = Util.OpGreaterThan;
-// // FilterItem.value = 54;
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetcount", Util.OpGreaterThan, 54));
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least this test record
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(0);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (IncludedWidgetId == o["i"].Value())
-// InclusiveMatchCount++;
-// if (ExcludedWidgetId == o["i"].Value())
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().BeGreaterOrEqualTo(1);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// a = await Util.DeleteAsync("widget/" + IncludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// a = await Util.DeleteAsync("widget/" + ExcludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// }
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task IntegerOpGreaterThanOrEqualToFilterWorks()
-// {
-
-// var WidgetNameStart = "IntegerOpGreaterThanOrEqualToFilterWorks";
-
-// long IncludedWidgetId = 0;
-// long ExcludedWidgetId = 0;
-
-// //CREATE TEST WIDGETS
-
-// //included widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = "blah";
-// w.active = true;
-// w.usertype = 1;
-// w.count = 555;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// IncludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //Excluded widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.count = 554;
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExcludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //inclusive test filter
-
-// // dynamic FilterItem = new JObject();
-// // FilterItem.fld = "widgetcount";
-// // FilterItem.op = Util.OpGreaterThanOrEqualTo;
-// // FilterItem.value = 555;
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetcount", Util.OpGreaterThanOrEqualTo, 555));
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least this test record
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(0);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (IncludedWidgetId == o["i"].Value())
-// InclusiveMatchCount++;
-// if (ExcludedWidgetId == o["i"].Value())
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().BeGreaterOrEqualTo(1);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// a = await Util.DeleteAsync("widget/" + IncludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// a = await Util.DeleteAsync("widget/" + ExcludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// }
-
-
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task IntegerOpLessThanFilterWorks()
-// {
-
-// var WidgetNameStart = "IntegerOpLessThanFilterWorks";
-
-// long IncludedWidgetId = 0;
-// long ExcludedWidgetId = 0;
-
-// //CREATE TEST WIDGETS
-
-// //included widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = "blah";
-// w.active = true;
-// w.usertype = 1;
-// w.count = -5555;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// IncludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //Excluded widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.count = 5555;
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExcludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //inclusive test filter
-
-// // dynamic FilterItem = new JObject();
-// // FilterItem.fld = "widgetcount";
-// // FilterItem.op = Util.OpLessThan;
-// // FilterItem.value = 5555;
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetcount", Util.OpLessThan, 5555));
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least this test record
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(0);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (IncludedWidgetId == o["i"].Value())
-// InclusiveMatchCount++;
-// if (ExcludedWidgetId == o["i"].Value())
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().BeGreaterOrEqualTo(1);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// a = await Util.DeleteAsync("widget/" + IncludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// a = await Util.DeleteAsync("widget/" + ExcludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// }
-
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task IntegerOpLessThanOrEqualToFilterWorks()
-// {
-
-// var WidgetNameStart = "IntegerOpLessThanOrEqualToFilterWorks";
-
-// long IncludedWidgetId = 0;
-// long ExcludedWidgetId = 0;
-
-// //CREATE TEST WIDGETS
-
-// //included widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = "blah";
-// w.active = true;
-// w.usertype = 1;
-// w.count = -444;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// IncludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //Excluded widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.count = -443;
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExcludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //inclusive test filter
-
-// // dynamic FilterItem = new JObject();
-// // FilterItem.fld = "widgetcount";
-// // FilterItem.op = Util.OpLessThanOrEqualTo;
-// // FilterItem.value = -444;
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetcount", Util.OpLessThanOrEqualTo, -444));
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least this test record
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(0);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (IncludedWidgetId == o["i"].Value())
-// InclusiveMatchCount++;
-// if (ExcludedWidgetId == o["i"].Value())
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().BeGreaterOrEqualTo(1);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// a = await Util.DeleteAsync("widget/" + IncludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// a = await Util.DeleteAsync("widget/" + ExcludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task IntegerNotEqualToFilterWorks()
-// {
-
-// var WidgetNameStart = "IntegerNotEqualToFilterWorks";
-
-// long IncludedWidgetId = 0;
-// long ExcludedWidgetId = 0;
-
-// //CREATE TEST WIDGETS
-
-// //included widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = "blah";
-// w.active = true;
-// w.usertype = 1;
-// w.count = 222;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// IncludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-// //Excluded widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.count = 223;
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ExcludedWidgetId = a.ObjectResponse["data"]["id"].Value();
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //inclusive test filter
-
-// // dynamic FilterItem = new JObject();
-// // FilterItem.fld = "widgetcount";
-// // FilterItem.op = Util.OpNotEqual;
-// // FilterItem.value = 223;
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetcount", Util.OpNotEqual, 223));
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least this test record
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(0);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// List IDInResultList = new List();
-// int InclusiveMatchCount = 0;
-// int ExclusiveMatchCount = 0;
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-// if (IncludedWidgetId == o["i"].Value())
-// InclusiveMatchCount++;
-// if (ExcludedWidgetId == o["i"].Value())
-// ExclusiveMatchCount++;
-// }
-
-// InclusiveMatchCount.Should().BeGreaterOrEqualTo(1);
-// ExclusiveMatchCount.Should().Be(0);
-
-// //DELETE WIDGETS
-// a = await Util.DeleteAsync("widget/" + IncludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// a = await Util.DeleteAsync("widget/" + ExcludedWidgetId.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-
-// }
-// #endregion integer tests
-
-
-// ///////////////////////////////////////////////////////////////////////////////
-// //BOOL
-// //
-
-// #region BOOLEAN TESTS
-
-// ///
-// ///
-// ///
-// [Fact]
-// public async Task BoolOpEqualityFilterWorks()
-// {
-// //OPS: equal to, not equal to
-// //values: true, false
-
-// var WidgetNameStart = "BoolDataFilterTest";
-
-// List ActiveWidgetIdList = new List();
-// List NotActiveWidgetIdList = new List();
-
-// //CREATE 4 TEST WIDGETS
-// //two active and two non active
-
-// //first active widget
-// dynamic w = new JObject();
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.customFields = Util.WidgetRequiredCustomFieldsJsonString();
-// w.notes = "blah";
-// w.active = true;
-// w.usertype = 1;
-
-// ApiResponse a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ActiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second active widget
-// w.name = Util.Uniquify(WidgetNameStart);
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// ActiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-
-// //first NON active widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// NotActiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-// //second NON active widget
-// w.name = Util.Uniquify(WidgetNameStart);
-// w.active = false;
-
-// a = await Util.PostAsync("widget", await Util.GetTokenAsync("superuser", "l3tm3in"), w.ToString());
-// Util.ValidateDataReturnResponseOk(a);
-// NotActiveWidgetIdList.Add(a.ObjectResponse["data"]["id"].Value());
-
-
-// //CREATE LISTVIEW
-// dynamic dListView = new JArray();
-
-// //name starts with filter to constrict to widgets that this test block created only
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetname", Util.OpStartsWith, WidgetNameStart));
-
-// //FILTER
-// // dynamic DataFilterActive = new JObject();
-// // DataFilterActive.fld = "widgetactive";
-// // DataFilterActive.op = Util.OpEquality;
-// // DataFilterActive.value = true;
-// dListView.Add(Util.BuildSimpleFilterDataListViewColumn("widgetactive", Util.OpEquality, true));
-
-
-// //FETCH DATALIST
-// a = await Util.PostAsync($"data-list", await Util.GetTokenAsync("superuser", "l3tm3in"), Util.BuildDataListRequestEx(dListView));
-// Util.ValidateDataReturnResponseOk(a);
-// Util.ValidateHTTPStatusCode(a, 200);
-
-// //assert contains at least two records
-// ((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(1);
-// var v = ((JArray)a.ObjectResponse["data"]);
-// // List IDInResultList = new List();
-// int nActiveMatches = 0;
-// int nInactiveMatches = 0;
-
-// foreach (JArray ja in v)
-// {
-// JObject o = ja[0] as JObject;
-
-
-// if (ActiveWidgetIdList.Contains(o["i"].Value()))
-// nActiveMatches++;
-// //if (NotActiveWidgetIdList.Contains(o["i"].Value()))
-// if (NotActiveWidgetIdList.Contains(o["i"].Value()))
-// nInactiveMatches++;
-// }
-
-// nActiveMatches.Should().Be(ActiveWidgetIdList.Count);
-// nInactiveMatches.Should().Be(0);
-
-// //DELETE WIDGETS
-// foreach (long l in ActiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-
-// foreach (long l in NotActiveWidgetIdList)
-// {
-// a = await Util.DeleteAsync("widget/" + l.ToString(), await Util.GetTokenAsync("BizAdmin"));
-// Util.ValidateHTTPStatusCode(a, 204);
-// }
-// }
-
-
-
-// ///