.is(0, date.compare(expected, actual), 'expected ' + expected.toDateString() + ' but got ' + actual.toDateString());
								t.is("Error", localLong.get('state'));
							}
						},
						{
							name: "change max, now valid",
							timeout: 1000,
							runTest: function(t){
								localLong.set("constraints", lang.mixin(localLong.get('constraints'), { max: new Date(2007,11,31)}));
								var expected = new Date(2007,6,15);
								var actual = localLong.get('value');
								t.is(0, date.compare(expec