@Test
public void asListTest() {

	ExprList lst = factory.asList("?foo", "http://example.com", Converters.quoted("hello"), 1, 5L, 3.14f, 6.28d, Var.alloc( "bar" ), null, factory.rand() );
	assertEquals( 10, lst.size() );
	assertEquals( new ExprVar( "foo" ), lst.get(0));
	//assertEquals( new ExprVar( "foo" ), lst.get(0));
	assertEquals( new NodeValueString( "hello" ), lst.get(2));
	assertEquals(  1 , lst.get(3).getConstant().asNode().getLiteralValue());
	assertEquals( 5 , lst.get(4).getConstant().asNode().getLiteralValue());
	assertEquals( 3.14f, lst.get(5).getConstant().asNode().getLiteralValue());
	assertEquals( 6.28, lst.get(6).getConstant().asNode().getLiteralValue());
	assertEquals( new ExprVar( "bar" ), lst.get(7));
	assertEquals( Expr.NONE, lst.get(8));
	assertEquals( new E_Random(), lst.get(9));
}