 		
 		public function testExpressionMethods():void 
 		{
-			var a:String = "[a]";
-			var b:String = "[b]";
+			var a:Variable = $("a");
+			var b:Variable = $("b");
 			
 			_lt  = lt(a, b);
 			_gt  = gt(a, b);

			_runTests();
		}
		
	}
}
	import flare.query.If;
	import flare.query.Literal;
	import flare.query.Or;
	import flare.query.Query;
	import flare.query.Range;
	import flare.query.Variable;
	import flare.query.Xor;
	import flare.query.methods.*;
	
	import unitest.TestCase;

	public class ExpressionTests extends TestCase
	{
		public function ExpressionTests() {
			addTest("testParse");
			addTest("testExpressions");
			addTest("testExpressionMethods");
			addTest("testQuery");
		}
		
		public function testParse():void
		{
			assertTrue(Expression.expr(true) is Literal);
			assertTrue(Expression.expr(false) is Literal);
			assertTrue(Expression.expr(1) is Literal);
			assertTrue(Expression.expr(new Date()) is Literal);
			assertTrue(Expression.expr("'a'") is Literal);
			assertTrue(Expression.expr("a") is Variable);
			assertTrue(Expression.expr("{a}") is Variable);
			
			var s:String = "a";
			assertTrue(_(s) is Literal);
			assertEquals("a", _(s).eval());
			assertTrue($(s) is Variable);
			assertEquals("a", $(s).name);
			assertTrue(Expression.expr(s) is Variable);
			assertTrue(Expression.expr(_(s)) is Literal);
			assertTrue(Expression.expr($(s)) is Variable);
		}
		
		// test variables
